Replication File for "Pyrrhic Victory: How Territorial Wars Affect Political Attitudes and Behavior" 

** Citation **

Getmansky, Anna, and Chagai M. Weiss. “”Pyrrhic Victory: How Territorial Wars Affect Political Attitudes and Behavior.” Journal of Conflict Resolution. 



**Content**

This replication file includes all data and scripts necessary to replicate figures and tables from the main text and appendix. 

To create all Figures use the following files:
1) ANALYSIS.Rproj (R project from which to load script and data)
2) jcr_replication_figures.R (main script)
3) wave1_4_data_vis.csv (public opinion data)
4) voting_vis.csv (voting data)


To create all Tables use the following files:
1) 1.INES TABLES A1-A9 + TABLE 1.do (analysis of public opinion data) and datasets 1973-1.dta-1973-5.dta 
(Raw data from INES website)
2) 2.FATALITIES AND VOTING TABLES A10-A15.do (analysis of military fatalities and locality-level voting) and datasets election_death_79_77.dta, 1965_vot.dta, 1969_vot_addition.dta, yeshuvim2016.dta, terror_vic.dta, and halalim_for_rob.dta.